
<html>
  <body>
	<p>Your Links</p>
	<p> [<a href="/edit/">add a link</a>] </p>
	<table border>
	  <tr>
		<td>Link</td><td>destination</td><td></td>
	  </tr>
	  {% for link in links %}
	    <tr>
	      <td>{{ link.link }}</td>
        {% if link.comment %}
	      <td><a href={{ link.path }}> {{ link.comment }} </a></td>
        {% else %}
	      <td><a href={{ link.path }}> {{ link.path }} </a></td>
        {% endif %}
	      <td> [<a href="/edit/{{ link.link }}">edit</a>] </td>
	      <td> [<a href="/delete/{{ link.link }}">delete</a>] </td>
	    </tr>
	  {% endfor %}
	</table>
	<p> [<a href="/edit/">add a link</a>] </p>
	<hr>
	<p> [<a href="{{ logout_url }}">logout</a>] </p>
		
  </body>
</html>